<template>
  <tr>
    <td>{{ item.shopName }}</td>
    <td>{{ item.price }} :元/份</td>
    <td>
      <button @click="item.count > 0 ? item.count-- : 0" class="butw btn btn-dark">-</button>
      {{ item.count }}
      <button @click="item.count++" class="butw btn btn-dark">+</button>
    </td>
  </tr>
</template>

<script>
export default {
  props: ['item']
}
</script>

<style></style>
